import request from "@/utils/request";
export function insertContent(data) {
  return request({
    url: "/content-content/insert",
    method: "post",
    data: data
  });
}
export function updateContent(data) {
  return request({
    url: "/content-content/update",
    method: "post",
    data: data
  });
}
export function deleteContent(data) {
  return request({
    url: "/content-content/delete",
    method: "post",
    data: data
  });
}
export function deletesContent(data) {
  return request({
    url: "/content-content/deletes",
    method: "post",
    data: data
  });
}
export function enableContent(data) {
  return request({
    url: "/content-content/enable",
    method: "post",
    data: data
  });
}
export function enablesContent(data) {
  return request({
    url: "/content-content/enables",
    method: "post",
    data: data
  });
}
export function disableContent(data) {
  return request({
    url: "/content-content/disable",
    method: "post",
    data: data
  });
}
export function disablesContent(data) {
  return request({
    url: "/content-content/disables",
    method: "post",
    data: data
  });
}
export function viewContent(params) {
  return request({
    url: "/content-content/view",
    method: "get",
    params: params
  });
}
export function pageContent(params) {
  return request({
    url: "/content-content/page",
    method: "get",
    params: params
  });
}
export function searchContent(params) {
  return request({
    url: "/content-content/search",
    method: "get",
    params: params
  });
}
